home *** CD-ROM | disk | FTP | other *** search
/ Risc World 5 / Risc World 5.iso / SOFTWARE / Issue5 / PD / DIRSYNC / LegalStuff / bascat / GMakefile < prev   
Makefile  |  2002-12-05  |  874b  |  35 lines

  1. CC        = gcc
  2. CCflags        = -c -O2 -ansi -mstubs -mthrowback -I^.lib
  3. Link        = drlink
  4. Linkflags    = -nounused -rescan
  5.  
  6. # options for linking with UnixLib
  7. # OPTS        = -DHAVE_CONFIG_H
  8.  
  9. # options for linking with SharedCLibrary
  10. OPTS        = -DHAVE_CONFIG_H -DUSING_ACORN_SHAREDCLIB\
  11.         -DPAGER=0 -DNDEBUG\
  12.         "-DPACKAGE=\"bascat\"" "-DVERSION=\"1.2.1\""
  13.  
  14. # LIBS        = ^.lib.o.gststubs gcc:o.libgcc ^.lib.o.libgnu ^.lib.o.mdwopt
  15. LIBS        = C:o.stubs gcc:o.libgcc ^.lib.o.libgnu ^.lib.o.mdwopt
  16.  
  17. DOLINK        = $(Link) $(Linkflags) o.$@ $(LIBS)
  18.  
  19. bascat_Objs    = o.bascat
  20.  
  21. # Main target
  22.  
  23. All:        bascat
  24.  
  25. bascat:        $(bascat_Objs) $(LIBS)
  26.         $(Link) $(Linkflags) $(bascat_Objs) $(LIBS) -o bascat
  27.  
  28. Clean:
  29.         ifthere o.* then wipe o.* ~cfr~v
  30.         remove bascat
  31.  
  32. # Dependencies:
  33.  
  34. o.bascat:    c.bascat ^.lib.h.error ^.lib.h.system ^.lib.h.ro_file ^.lib.h.xalloc ^.lib.h.closeout ^.lib.h.version-etc ^.lib.h.ro_wild ^.lib.h.mdwopt
  35.